package com.ccys.cms.service.productAndService;

import com.ccys.common.vo.ResponseResult;
import com.ccys.db.dto.web.productAndService.BatchIngredientDto;
import com.ccys.db.dto.web.productAndService.ProductDto;
import com.ccys.db.entity.TblInventoryFeed;
import com.ccys.db.entity.TblProduct;
import com.ccys.db.rely.service.BaseService;
import com.ccys.db.vo.web.inventory.ProductInfoVo;

import java.util.List;

public interface ProductService extends BaseService<TblProduct> {

    ResponseResult getPage(ProductDto dto);

    void updateBatchImportQuantity(List<TblProduct> productList);

    void increaseImportQuantity(Integer quantity,String id);

    void decreaseImportQuantity(Integer quantity,String id);

    ProductInfoVo getProductInfo(String productId);

    void updateStockQuantityByAdjust(TblInventoryFeed model);

    void deleteIngredients(String productId);

    ResponseResult change(BatchIngredientDto dto);
}
